Skip to main content

playSelection

Type

property

Summary

Specifies whether a player plays back its entire movie or sound, or only the selected portion.

Syntax

set the playSelection of <player> to {true | false}

Description

Use the playSelection property to play a selected portion of a movie or sound.

If the playSelection property is set to true, the play command only plays the section between the startTime and endTime.

If the playSelection is false, the play command plays the entire movie or sound, even if a smaller portion has been selected.

Examples

set the playSelection of player "Scan" to true

command: play

glossary: property, command

keyword: player

property: endTime, showSelection, startTime, selected

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?